
#ifndef TextH
#define TextH


#include "Constants.h"
#include "SDLBase.h"


class Text
{
	TTF_Font *font;
	SDL_Surface *textSurface;
	string fontFile, text;
	int style, ptsize;
	SDL_Color color;
	SDL_Rect box;

public:
	Text(string, string, SDL_Color, int, int, int, int);
	~Text();

	void render(int, int);
	void setPos(int, int);
	void setText(string);
	void setStyle(int);
	void setColor(SDL_Color);
	void setSize(int);
};


#endif
